package com.fay.designPattern.oop.apiAuth;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/3/1 14:06
 * @Version 1.0
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class ApiRequest {
    private String appId;
    private String token;
    private long timestamp;
    private String originalUrl;

    public static ApiRequest buildFromUrl(String originalUrl) {
        return new ApiRequest();
    }
}
